//
//  TravelDetailViewController.h
//  lvtu
//
//  Created by Apple on 12-6-3.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "NetDataSource.h"
#import "DataSource.h"
#import "CommentDetailViewController.h"
#import "MoreTripDetailViewController.h"

@interface TravelDetailViewController : BaseViewController<DataSourceDelegate,CommentDetailViewControllerProtocol,MoreTripDetailViewControllerProtocol>
{
    TripInfo* tripinfo;
    NSString* tripId;
    UILabel* editorLabel;
    UILabel* currentDateLabel;
    UILabel* totleDateLabel;
    UILabel* cityLabel;
    UILabel* nameLabel;
    RecommendTripInfo* sumTripInfo;
    EGOImageView* tripImageView;
    
    UIButton* rightbutton;
    UIButton* nextButton;
    
    UIImageView* eventShowBgView;
    UIScrollView* eventShowView;
    
    UIAlertView* baseAlert;
    UILabel* nodataLabel;
    
    UIButton* praiseButton;
    UIButton* favorbutton;
    UIButton* commentbutton;
    
    UILabel* praiseLabel;
    UILabel* collectLabel;
    UILabel* commentLabel;
    
    BOOL canEdit;
    NSInteger dateIndex;
    
    MoreTripDetailViewController* moreTripDetailViewController;
}

- (id)initWithTravelId:(NSString*) lineId travelSum:(RecommendTripInfo*) sumInfo type:(BOOL)editType;
- (void)setCanEdit:(BOOL)type;

@end
